<%-- 
    Document   : uploadImage
    Created on : 2016-3-25, 10:36:07
    Author     : root
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>测试Jersey 文件上传</h1>
        <form action="<%=path%>/webapi/upload/uploadimage2" method="post" enctype="multipart/form-data">
            <p>  
                文件 :<input type="file" name="file"/><br />  
                用户名: <input type="text" name="username"/><br />  
            </p>  
            <input type="submit" value="上传" />  
        </form>
    </body>
</html>
